package com.yeyks.common.param;

import com.yeyks.common.annotation.StrNotEmpty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author fuchangshuai
 * @date 2019/07/31 17:09
 */
@Data
public class CashOutDownloadParam implements Serializable {
    private static final long serialVersionUID = 5736787909724186796L;

    @ApiModelProperty(value = "提现开始时间")
    @NotNull(message = "提现开始时间不能为空")
    private Long startTime;
    @ApiModelProperty(value = "提现结束时间")
    @NotNull(message = "提现结束时间不能为空")
    private Long endTime;
    @ApiModelProperty("提现的佣金类型,1、0元,2、创客")
    @StrNotEmpty(message = "提现的佣金类型不能为空")
    private String amountType;
}
